<template>
  <div class="banner-botton">
    <a
      class="cq-btn-more icon icon-arrow-right"
      :class="className"
      @click="btnMore"
    >
      <slot></slot>
    </a>
  </div>
</template>

<script>
export default {
  name: "PracticeBtnMore",
  props: {
    className: {
      type: String,
      // default: 'banner-bottom-btn'
    },
  },
  data() {
    return {};
  },

  mounted() {},

  methods: {
    btnMore() {
      this.$router.push("/about");
    },
  },
};
</script>

<style lang="scss" scoped>
.cq-btn-more {
  box-sizing: border-box;
  display: inline-block;
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: solid 1px #ff7200;
  border-radius: 20px;
  font-size: 16px;
  color: #ff7200;
}

.cq-btn-more:hover:after {
  transform: translateX(3px);
}
.cq-btn-more.btn-brand:after {
  color: #fff;
}

.cq-btn-more:hover {
  text-decoration: none;
}
.bgc-white {
  background-color: rgba(255, 255, 255, 0.2);
}

.cq-btn-more::after {
  display: inline-block;
  content: "\e601";
  font-family: "icomoon";
  transition: 0.3s;
}

.banner-bottom-btn::after {
  display: inline-block;
  content: "\e601";
  font-family: "icomoon";
  transition: 0.3s;
}

.banner-bottom-btn:hover::after {
  transform: translate(4px);
}

.banner-bottom-btn {
  display: inline-block;
  width: 150px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 20px;
}
</style>